package com.wjx.po;

public class Parkingspaces {
    private int psid;//车位编号
    private String owner;//车位所属者
    private String phone;//联系方式
    private String street;//街道
    private int parkingnum;//车位号
    private String starttime;//共享开始时间
    private String endtime;//共享结束时间
    private double price;//单价

    public Parkingspaces() {
    }

    public Parkingspaces(String owner, String phone, String street, int parkingnum, String starttime, String endtime, double price) {
        this.owner = owner;
        this.phone = phone;
        this.street = street;
        this.parkingnum = parkingnum;
        this.starttime = starttime;
        this.endtime = endtime;
        this.price = price;
    }

    public Parkingspaces(int psid, String owner, String phone, String street, int parkingnum, String starttime, String endtime, double price) {
        this.psid = psid;
        this.owner = owner;
        this.phone = phone;
        this.street = street;
        this.parkingnum = parkingnum;
        this.starttime = starttime;
        this.endtime = endtime;
        this.price = price;
    }

    public int getPsid() {
        return psid;
    }

    public void setPsid(int psid) {
        this.psid = psid;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public int getParkingnum() {
        return parkingnum;
    }

    public void setParkingnum(int parkingnum) {
        this.parkingnum = parkingnum;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Parkingspaces{" +
                "psid=" + psid +
                ", owner='" + owner + '\'' +
                ", phone='" + phone + '\'' +
                ", street='" + street + '\'' +
                ", parkingnum=" + parkingnum +
                ", starttime='" + starttime + '\'' +
                ", endtime='" + endtime + '\'' +
                ", price=" + price +
                '}';
    }
}
